package com.ques.service;

import com.ques.entity.QueryParam;
import com.ques.pojo.Question;

import java.util.List;

/**
 * @author zq  2020-01-07
 */
public interface QuestionService {
    Question createQuestion(Question question);

    List<Question> getAllQuestion(QueryParam queryParam);

    Question updateQuestion(Question question);

    Question getQuestionById(String page);

    boolean updateQuestionStatus(String questionId, boolean status);

    long deleteQuestion(String[] questionIds);
}
